﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="EventHandler.cs" company="Mark Christian D. Menchavez">
//   Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

namespace MCDM
{
    using System;

    /// <summary>
    /// A generic event handler.
    /// </summary>
    /// <typeparam name="TSender">The type of the sender.</typeparam>
    /// <typeparam name="TEventArgs">The type of the event argument.</typeparam>
    /// <param name="sender">The sender.</param>
    /// <param name="eventArgs">The event argument.</param>
    public delegate void EventHandler<in TSender, in TEventArgs>(TSender sender, TEventArgs eventArgs) 
        where TEventArgs : EventArgs;
}
